<!--{template tpl/header}-->

<div class="amain">

	<input type="hidden" id="url_terminal_up" value="/admin.php?a=index/linux">
	<input type="hidden" id="url_terminal_show" value="/temp/linux/terminal.php">
<form action="" method="post">
	命令:<input type="text" id="terminal" value="$terminal" size="100">
	<input type="button" value="执行" onclick="App.terminal.run()">
</form>
<hr>
<pre id="terminal_show" class="terminal_show"></pre>
<div >

	<a href="#" onclick="App.terminal.get_code(1901)">svn更新 abans</a>
	<input type="hidden" id="terminal_code_1901" value="svn update /au/my/abans">
	<br>
	<a href="#" onclick="App.terminal.get_code(1902)">svn更新 acan</a>
	<input type="hidden" id="terminal_code_1902" value="svn update /au/my/acan">
	<br>
	<a href="#" onclick="App.terminal.get_code(1903)">svn更新 dev</a>
	<input type="hidden" id="terminal_code_1903" value="svn update /au/my/dev">
	<br>
	<a href="#" onclick="App.terminal.get_code(1904)">svn更新 cmd</a>
	<input type="hidden" id="terminal_code_1904" value="svn update /au/my/cmd">
	<br>
	<a href="#" onclick="App.terminal.get_code(1905)">svn清除 abans</a>
	<input type="hidden" id="terminal_code_1905" value="svn cleanup /au/my/abans">
	<br>
	<a href="#" onclick="App.terminal.get_code(1401)">查看80端口连接</a>
	<input type="hidden" id="terminal_code_1401" value="netstat -an |grep :80">
	<br>
	<a href="#" onclick="App.terminal.get_code(1402)">查看80端口连接数</a>
	<input type="hidden" id="terminal_code_1402" value="netstat -an |grep :80 |wc -l">
	<br>
	<a href="#" onclick="App.terminal.get_code(1403)">查看9000端口连接</a>
	<input type="hidden" id="terminal_code_1403" value="netstat -an |grep :9000">
	<br>
	<a href="#" onclick="App.terminal.get_code(1404)">查看9000端口连接数</a>
	<input type="hidden" id="terminal_code_1404" value="netstat -an |grep :9000 |wc -l">
	<br>
	<a href="#" onclick="App.terminal.get_code('sys01')">查看各磁盘使用率</a>
	<input type="hidden" id="terminal_code_sys01" value="df -hl">
	<br>
	<a href="#" onclick="App.terminal.get_code('sys02')">查看CPU信息</a>
	<input type="hidden" id="terminal_code_sys02" value="cat /proc/cpuinfo">
	<br>
	<a href="#" onclick="App.terminal.get_code('sys03')">查看内存信息</a>
	<input type="hidden" id="terminal_code_sys03" value="cat /proc/meminfo">
</div>
</div>
<!--{template tpl/footer}-->